﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/content.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>项目订制订单信息管理</title>
	</head>
	<body>

		<div class="rhead">
			<div class="rpos">
				当前位置: 项目订制 - 订制订单
			</div>
			<div class="ropt">
				<a href="authOrderAction!initAdd.action">新增</a>
			</div>
			<div class="clear"></div>
		</div>

		<table class="listTable3" >
			<tr class="headbg">
				<td>
					序号
				</td>
				<td>
					代理人
				</td>
				<td>
					代理人微信OpenID
				</td>
				<td>
					联系号码
				</td>
				<td>
					类型
				</td>
				<td>
					描述
				</td>
				<td>
					订制日期
				</td>
				<td>
					操作人
				</td>
				<td>
					操作日期
				</td>
				<td>
					基本操作
				</td>
			</tr>
			<c:forEach var="wxProjectOrder" items="${wxProjectOrderList}">
				<tr>
					<td>
						${wxProjectOrder.id}
					</td>
					<td>
						${wxProjectOrder.name}
					</td>
					<td>
						${wxProjectOrder.openId}
					</td>
					<td>
						${wxProjectOrder.linkman}
					</td>
					<td>
					<c:forEach items="${wxProjectOrder.types}" var="vType">
						<c:if test="${vType == 3}">官网/微信公众号<br/></c:if>
						<c:if test="${vType == 4}">App和HTML5<br/></c:if>
						<c:if test="${vType == 5}">电子政务<br/></c:if>
						<c:if test="${vType == 6}">智慧物业<br/></c:if>
						<c:if test="${vType == 7}">P2P/众筹<br/></c:if>
						<c:if test="${vType == 8}">电商平台<br/></c:if>
						<c:if test="${vType == 9}">互联网+<br/></c:if>
					</c:forEach>
					</td>
					<td>
						${wxProjectOrder.proDesc}
					</td>
					<td>
						<fmt:formatDate value="${wxProjectOrder.oderDate}" pattern="yyyy-MM-dd" />
					</td>
					<td>
						${wxProjectOrder.opId}
					</td>
					<td>
						<fmt:formatDate value="${wxProjectOrder.opDate}" pattern="yyyy-MM-dd" />
					</td>
					<td>
						<a
							href="authOrderAction!view.action?id=${wxProjectOrder.id}&toView=view">
							查看 </a>&nbsp; &nbsp;
						<a
							href="authOrderAction!view.action?id=${wxProjectOrder.id}&toView=toedit&_pageNo=<s:property value="pager.pageNo" />">
							编辑 </a>&nbsp; &nbsp;
						<a
							href="authOrderAction!delete.action?id=${wxProjectOrder.id}"
							onClick="{if(confirm('你真的要删除吗?')){return true;}return false;}">
							删除 </a>
						<a
							href="authOrderAction!view.action?id=${wxProjectOrder.id}&toView=tosend">
							发送信息 </a>
					</td>
				</tr>
			</c:forEach>
		</table>
		<s:form action="authOrderAction!list.action" method="get" name="form1"
			theme="simple">
			<table class="listTable2">
				<tr>
					<td width="50%">
						&nbsp;&nbsp;共有
						<s:property value="pager.rowCount" />
						条记录，每页行数：
						<s:select name="pageSize" list="pager.pageSizeIndexs"
							theme="simple" value="pager.pageSize"
							onchange="document.all.pageNo.value='1';document.all.form1.submit();" />
						当前第
						<s:select name="pageNo" list="pager.pageNoIndexs" theme="simple"
							value="pager.pageNo" onchange="document.all.form1.submit();" />
						页
					</td>
					<td width="200px">
						<a
							href="javascript:document.all.pageNo.value='<s:property value="pager.firstPageNo" />';document.all.form1.submit();">
							<img src="${ctx}/image/jwc/first.gif" width="37" height="15" />
						</a>

						<a
							href="javascript:document.all.pageNo.value='<s:property value="pager.prePageNo" />';document.all.form1.submit();">
							<img src="${ctx}/image/jwc/back.gif" width="43" height="15" />
						</a>

						<a
							href="javascript:document.all.pageNo.value='<s:property value="pager.nextPageNo"/>';document.all.form1.submit();">
							<img src="${ctx}/image/jwc/next.gif" width="43" height="15" />
						</a>

						<a
							href="javascript:document.all.pageNo.value='<s:property value="pager.lastPageNo" />';document.all.form1.submit();">
							<img src="${ctx}/image/jwc/last.gif" width="37" height="15" />
						</a>
					</td>
				</tr>
			</table>
		</s:form>
	</body>
</html>

